Technical Q&A QA1386
Core Audio & Xcode - Ensuring the latest Core Audio Headers are installed

Q: I'm a Core Audio developer and I'd like to update my Developers Tools to Xcode 1.5. Are there any issues I should be aware of before installing this update?

A: The main concern is making sure you have the latest Core Audio headers installed.

System updates for QuickTime (such as QuickTime 6.5.2) can contain updates to Core Audio Components for existing Mac OS X 10.2.8 and 10.3.x systems. These QuickTime updates can also include header files for Core Audio which are newer than the ones included in the Mac OS X SDK that ships with Xcode.

Essentially, the Mac OS X SDK installed with Xcode 1.2 or 1.5 contains the Mac OS X 10.3 header files. Since the release of Mac OS X 10.3, Core Audio has been updated and these new Components and header files have been installed via QuickTime system updates.

This becomes an issue if you've installed the Developer Tools Mac OS X SDK over top of an existing Developer Tools installation that has already been updated to the latest version of QuickTime; doing so will have overwritten the newer header files with older copies which may cause target build problems.

To make sure you have the most up-to-date development environment when working with Core Audio, follow these guidelines:

  • When upgrading from Xcode 1.2 to Xcode 1.5 on a current system (as of this writing Mac OS X 10.3.5 with QuickTime 6.5.2) select "Custom Install" and uncheck the Mac OS X SDK option (see Figure 1). This will prevent older headers from replacing any newer ones installed with QuickTime 6.5.x updates.

  • If you've already upgraded to Xcode 1.5 on a current system and installed the Mac OS X SDK, upgrading to, or re-installing the latest version of QuickTime will install the latest Core Audio headers.

  • If you're installing Xcode for the first time, perform a regular full install of Xcode 1.5 choosing whatever options you'd like, then upgrade to, or re-install the latest version of QuickTime. This will install the latest Core Audio headers.

Figure 1: Uncheck Mac OS X SDK.

Figure 1, Uncheck Mac OS X SDK.

Note: The Core Audio SDK 1.3.1 installs developer examples and documentation but does not install or update any Core Audio header files.

Document Revision History

DateNotes
2005-01-18Editorial
2004-11-09First Version

Posted: 2005-01-18